<template>
    <div id="wrapper">
      <div class="header">
        <div class="header_logo">
          <a href="/">我的藏书阁</a>
        </div>
      </div>
      <AppLogo></AppLogo>
      <div class="box_con">
        <div class="con_top">
          <a href="/">我的藏书阁</a> &gt;
          <a href="/xclass/1/1.html">玄幻奇幻</a> &gt; 万界天尊最新章节列表
        </div>

        <h1></h1>
      </div>
      <div id="main">
        <div class="novelslist2">
          <h2>临时书架 - 用户浏览过的小说会自动保存到书架中（只限同一电脑）</h2>
          <ul>
            <li>
              <span class="s1">
                <b>作品分类</b>
              </span>
              <span class="s2">
                <b>作品名称</b>
              </span>
              <span class="s3">
                <b>上次阅读章节</b>
              </span>
              <span class="s4">
                <b>作者</b>
              </span>
              <span class="s5">
                <b>操作</b>
              </span>
              <span class="s6">
                <b>&nbsp;</b>
              </span>
              <span class="s7">
                <b>&nbsp;</b>
              </span>
            </li>
            <!-- 获取储存的数据循环开始 -->
            <!--  -->
            <div class="read_book">
              <li>
                <span class="s1">玄幻奇幻</span>
                <span class="s2">
                  <a href="/78_78513/" target="_blank">元尊</a>
                </span>
                <span class="s3">
                  <a href="/78_78513/122344.html" target="_blank">第九章 八脉现</a>
                </span>
                <span class="s4">天蚕土豆</span>
                <span class="s5">
                  <a href="javascript:removebook('78513')">删除</a>
                </span>
                <span class="s6">&nbsp;</span>
                <span class="s7">&nbsp;</span>
              </li>
            </div>
            <!-- 获取储存的数据循环end -->
            <div class="read_book"></div>
          </ul>
        </div>
        <div class="clear"></div>
      </div>
    </div>
</template>
<script>
import AppLogo from "~/components/AppLogo.vue";
export default {
  components: {
    AppLogo
  },
  data() {
    return {
      indexUrl: ""
    };
  },
  created() {
    // this.indexUrl = localStorage.getItem('indexUrl');
    // console.log(window.localStorage.getItem('indexUrl'))
  },
  mounted() {
    var aaa = localStorage.getItem("indexUrl");
    // console.log(eval('{' + aaa + '}'))
    console.log(JSON.parse(aaa));
  }
};
</script>
